package com.fishery.customization.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;
import java.util.List;

@Document("c_drag_module_checked")
@ApiModel(value = "可拖拽模块选中对象")
public class DraggableModuleChecked implements Serializable {

	@Id
	private String id;

	@Field(value = "user_id")
	@ApiModelProperty(value = "用户ID")
	private String userId;

	@Field(value = "module_checked")
	@ApiModelProperty(value = "顺序数组")
	private List<String> moduleChecked;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public List<String> getModuleChecked() {
		return moduleChecked;
	}

	public void setModuleChecked(List<String> moduleChecked) {
		this.moduleChecked = moduleChecked;
	}
}
